package com.ruoyi.system.domain;

import java.util.Objects;

public class Sysstaffshow {
//    staff number 员工编号STAFF_NUMBER
//    staff name 姓名 STAFF_NAME
//    staff phone 手机号STAFF_PHONE
//    company所属公司（和小区列表的公司一致）EMP_COMPANY
//    plot 所属小区（和小区列表的小区一致）EMP_PLOT
//    department 部门	DEPARTMENT
//    position职位  POSITION
//    SiLing司龄 SILING
//    state 状态 STATE
    private String staffNumber;
    private String staffName;
    private String staffPhone;
    private String empCompany;
    private String empPlot;
    private String department;
    private String position;
    private String SiLing;
    private String state;

    public String getStaffNumber() {
        return staffNumber;
    }

    public void setStaffNumber(String staffNumber) {
        this.staffNumber = staffNumber;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public String getStaffPhone() {
        return staffPhone;
    }

    public void setStaffPhone(String staffPhone) {
        this.staffPhone = staffPhone;
    }

    public String getEmpCompany() {
        return empCompany;
    }

    public void setEmpCompany(String empCompany) {
        this.empCompany = empCompany;
    }

    public String getEmpPlot() {
        return empPlot;
    }

    public void setEmpPlot(String empPlot) {
        this.empPlot = empPlot;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getSiLing() {
        return SiLing;
    }

    public void setSiLing(String siLing) {
        SiLing = siLing;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Sysstaffshow that = (Sysstaffshow) o;
        return Objects.equals(staffNumber, that.staffNumber) &&
                Objects.equals(staffName, that.staffName) &&
                Objects.equals(staffPhone, that.staffPhone) &&
                Objects.equals(empCompany, that.empCompany) &&
                Objects.equals(empPlot, that.empPlot) &&
                Objects.equals(department, that.department) &&
                Objects.equals(position, that.position) &&
                Objects.equals(SiLing, that.SiLing) &&
                Objects.equals(state, that.state);
    }

    @Override
    public int hashCode() {
        return Objects.hash(staffNumber, staffName, staffPhone, empCompany, empPlot, department, position, SiLing, state);
    }

    @Override
    public String toString() {
        return "Sysstaffshow{" +
                "staffNumber='" + staffNumber + '\'' +
                ", staffName='" + staffName + '\'' +
                ", staffPhone='" + staffPhone + '\'' +
                ", empCompany='" + empCompany + '\'' +
                ", empPlot='" + empPlot + '\'' +
                ", department='" + department + '\'' +
                ", position='" + position + '\'' +
                ", SiLing='" + SiLing + '\'' +
                ", state='" + state + '\'' +
                '}';
    }
}
